//人车家查询
//随机获取2个购车意向用户
MATCH (app:APP {app_name: '懂车帝'})<-[r3:use_app]-(p:Phone{current_operator: '移动'})-[r2:has]-(u)-[r1:visited]->(a {add_type: '4S店'})
WITH u, rand() AS rand ORDER BY rand limit 2
MATCH path=(app:APP {app_name: '懂车帝'})<-[r3:use_app]-(p:Phone{current_operator: '移动'})-[r2:has]-(u)-[r1:visited]->(a {add_type: '4S店'})
OPTIONAL MATCH family = (e:User|Addr|LAC)-[r*1..2]->(e2)
WHERE e.group_fam_id = u.group_fam_id AND e2.group_fam_id = u.group_fam_id
//高亮推理路径
return path, family, u as orange_u limit 100